#!/bin/sh

echo "please start rabbitmq first. press any key continue "
read anykey

cd jars
pwd

echo "please wait for about 1 min... "

echo "start scs-registry..."
javaw -Xms64M -Xmx128M -jar scs-registry.jar &
sleep 20

echo "start scs-config..."
javaw -Xms64M -Xmx128M -jar scs-config.jar &
sleep 15

echo "start scs-zipkin..."
javaw -Xms64M -Xmx128M -jar scs-zipkin.jar &
sleep 10

echo "browser zipkin @ http://localhost:9411/zipkin/ "
echo "press any key to exit "

read anykey
